#if !defined(ximera_scripting_iscript_hpp)
#define ximera_scripting_iscript_hpp

// -----------------------------------------------------------

#include <ximera/types.hpp>
#include <ximera/enum.hpp>

namespace ximera { namespace scripting
{
    XIMERA_ENUM(Language)
        Lua,
        Python,
        Other
    XIMERA_ENUM_END(Language);

    class XIMERA_API IScript
    {
    public:
        virtual ~IScript();

        virtual Language language() const = 0;
        
        virtual bool isLoaded() const = 0;
        virtual void data(String const& code) = 0;
    };
}}

// -----------------------------------------------------------

#endif